package com.xing.morethread;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
//@EnableAsync //开启异步任务的支持,这个配合@Async一起使用
public class MorethreadApplication {

    public static void main(String[] args) {
        SpringApplication.run(MorethreadApplication.class, args);
    }

}
